package com.ll.core.util;

import java.util.List;

import com.google.gson.reflect.TypeToken;
import com.ll.core.magzine.model.bean.Article;
import com.ll.core.magzine.model.bean.ImageResource;
import com.ll.core.magzine.model.bean.Magazine;
import com.ll.core.magzine.model.bean.Period;
import com.ll.core.magzine.model.bean.User;
import com.ll.core.model.RequestEnvelope;
import com.ll.core.model.ResponseEnvelope;

public class TypeTokens {
	public static final TypeToken<Period> PERIOD = new TypeToken<Period>(){};
	public static final TypeToken<Article> ARTICLE = new TypeToken<Article>(){};
	public static final TypeToken<List<Article>> TYPETOKEN_ARTICLE = new TypeToken<List<Article>>(){};
	public static final TypeToken<List<Period>> TYPETOKEN_PERIOD = new TypeToken<List<Period>>(){};
	public static final TypeToken<List<ImageResource>> TYPETOKEN_IMAGERESOURCE = new TypeToken<List<ImageResource>>(){};
	public static final TypeToken<List<Magazine>> TYPETOKEN_MAGAZINE = new TypeToken<List<Magazine>>(){};
	public static final TypeToken<List<User>> TYPETOKEN_USER = new TypeToken<List<User>>(){};
	public static final TypeToken<RequestEnvelope> TYPETOKEN_REQUESTENVELOPE = new TypeToken<RequestEnvelope>(){};
	public static final TypeToken<ResponseEnvelope> TYPETOKEN_RESPONSEENVELOPE = new TypeToken<ResponseEnvelope>(){};
}
